<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>应用列表</title>
    <link rel="stylesheet" href="../assets/css/common.css">
    <link rel="stylesheet" href="../assets/css/app.css">
    <link rel="icon" type="image/x-icon" href="../assets/images/logo.png">
</head>
<body>
  <div class="page application">
    <div class="app-title">
      <div class="title-container clearfix">
        <img class="title-left fl" src="../assets/images/logo2.png" alt="">
        <div class="title-right fr">
          <span class="right-text">你好，<sapn class="right-name" th:text="${user.userName}" />！</span>
          <a class="right-btn btn-modify" href="/changePwd">修改密码</a>
          <a class="right-btn btn-logout" href="/logout">退出登录</a>
        </div>
      </div>
    </div>
    <div class="app-box">
      <div class="box-title">应用列表</div>
      <div class="app-list">
        <div class="app-item" th:each="app: ${apps}" th:onclick="openUrl([[${app.appUrl}]],[[${app.isogeny}]])">
          <img class="app-icon" th:src="${app.appIcon}" />
          <div class="app-name" th:text= "${app.appName}">${app.appName}</div>
        </div>
      </div>
    </div>
  </div>
  <script src="../assets/js/jquery.min.js"></script>
   <script src="../assets/js/index.js"></script>
</body>
</html>